<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加图书信息</title>
    <link rel="stylesheet" th:href="@{/css/pintuer.css}">
    <link rel="stylesheet" th:href="@{/css/admin.css}">
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/js/pintuer.js}"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加图书信息</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" th:action="@{/book/add}">
            <div class="form-group">
                <div class="label">
                    <label>书籍编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="" name="bookID" data-validate="required:请输入书籍编号" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>书名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="" name="title" data-validate="required:请输入书名" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>作者：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="author" value="" data-validate="required:请输入作者"/>
                </div>
            </div>

<!--            <div class="form-group">-->
<!--                <div class="label">-->
<!--                    <label>书号：</label>-->
<!--                </div>-->
<!--                <div class="field">-->
<!--                    <input type="text" class="input w50" name="ISBN" value="" data-validate="required:请输入书号"/>-->
<!--                </div>-->
<!--            </div>-->

            <div class="form-group">
                <div class="label">
                    <label>图书类别：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="category" value="" data-validate="required:请输入图书类别"/>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>价格：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="price" value="" data-validate="required:请输入价格"/>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>数量：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="counts" value="" data-validate="required:请输入数量"/>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>状态：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="status" value="" data-validate="required:请输入图书状态（空闲中、已借出、已售出）"/>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>